package com.qb.mobile.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author <a href="mailto:dangcongthanhtrung@gmail.com">dangtrung</a>
 * 
 * Phonebook.java class
 *
 */
public class Phonebook implements Serializable {

	private static final long serialVersionUID = 6050435686913546511L;

	private String id;
	private String name;
	private String phone;

	private ArrayList<Phone> phones;
	private ArrayList<Email> emails;
	private ArrayList<String> notes;
	private ArrayList<Address> addresses = new ArrayList<Address>();
	private ArrayList<InstantMessenger> imAddresses;
	private Organization organization;
	private Photo photo;

	public Phonebook() {
	}

	/**
	 * @param id
	 * @param name
	 */
	public Phonebook(String id, String name, String phone, Photo photo) {
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.photo = photo;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the phone
	 */
	public ArrayList<Phone> getPhones() {
		return phones;
	}

	/**
	 * @param phone
	 *            the phone to set
	 */
	public void setPhones(ArrayList<Phone> phones) {
		this.phones = phones;
	}

	/**
	 * @return the email
	 */
	public ArrayList<Email> getEmails() {
		return emails;
	}

	/**
	 * @param emails
	 *            the emailss to set
	 */
	public void setEmails(ArrayList<Email> emails) {
		this.emails = emails;
	}

	/**
	 * @return the notes
	 */
	public ArrayList<String> getNotes() {
		return notes;
	}

	/**
	 * @param notes
	 *            the notes to set
	 */
	public void setNotes(ArrayList<String> notes) {
		this.notes = notes;
	}

	/**
	 * @return the addresses
	 */
	public ArrayList<Address> getAddresses() {
		return addresses;
	}

	/**
	 * @param addresses
	 *            the addresses to set
	 */
	public void setAddresses(ArrayList<Address> addresses) {
		this.addresses = addresses;
	}

	/**
	 * @return the imAddresses
	 */
	public ArrayList<InstantMessenger> getImAddresses() {
		return imAddresses;
	}

	/**
	 * @param imAddresses
	 *            the imAddresses to set
	 */
	public void setImAddresses(ArrayList<InstantMessenger> imAddresses) {
		this.imAddresses = imAddresses;
	}

	/**
	 * @return the organization
	 */
	public Organization getOrganization() {
		return organization;
	}

	/**
	 * @param organization
	 *            the organization to set
	 */
	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	/**
	 * @return the photo
	 */
	public Photo getPhoto() {
		return photo;
	}

	/**
	 * @param photo
	 *            the photo to set
	 */
	public void setPhoto(Photo photo) {
		this.photo = photo;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param phone
	 *            the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

}
